/*
 * XML Type:  PaymentTransactionRequest
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.PaymentTransactionRequest
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML PaymentTransactionRequest(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface PaymentTransactionRequest extends net.ofx.types.x2003.x04.AbstractTransactionRequest
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("paymenttransactionrequest627dtype");
    
    /**
     * Gets the "PMTRQ" element
     */
    net.ofx.types.x2003.x04.PaymentRequest getPMTRQ();
    
    /**
     * True if has "PMTRQ" element
     */
    boolean isSetPMTRQ();
    
    /**
     * Sets the "PMTRQ" element
     */
    void setPMTRQ(net.ofx.types.x2003.x04.PaymentRequest pmtrq);
    
    /**
     * Appends and returns a new empty "PMTRQ" element
     */
    net.ofx.types.x2003.x04.PaymentRequest addNewPMTRQ();
    
    /**
     * Unsets the "PMTRQ" element
     */
    void unsetPMTRQ();
    
    /**
     * Gets the "PMTMODRQ" element
     */
    net.ofx.types.x2003.x04.PaymentModRequest getPMTMODRQ();
    
    /**
     * True if has "PMTMODRQ" element
     */
    boolean isSetPMTMODRQ();
    
    /**
     * Sets the "PMTMODRQ" element
     */
    void setPMTMODRQ(net.ofx.types.x2003.x04.PaymentModRequest pmtmodrq);
    
    /**
     * Appends and returns a new empty "PMTMODRQ" element
     */
    net.ofx.types.x2003.x04.PaymentModRequest addNewPMTMODRQ();
    
    /**
     * Unsets the "PMTMODRQ" element
     */
    void unsetPMTMODRQ();
    
    /**
     * Gets the "PMTCANCRQ" element
     */
    net.ofx.types.x2003.x04.PaymentCancelRequest getPMTCANCRQ();
    
    /**
     * True if has "PMTCANCRQ" element
     */
    boolean isSetPMTCANCRQ();
    
    /**
     * Sets the "PMTCANCRQ" element
     */
    void setPMTCANCRQ(net.ofx.types.x2003.x04.PaymentCancelRequest pmtcancrq);
    
    /**
     * Appends and returns a new empty "PMTCANCRQ" element
     */
    net.ofx.types.x2003.x04.PaymentCancelRequest addNewPMTCANCRQ();
    
    /**
     * Unsets the "PMTCANCRQ" element
     */
    void unsetPMTCANCRQ();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest newInstance() {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.PaymentTransactionRequest parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.PaymentTransactionRequest) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
